const state = {
    // 入库管理
    data: [],
    pageTotal: 0,
    query: {
        pageIndex: 1,
        pageSize: 10,
        jobCode: '',
        name: '',
        checkStatus: ''
    },
    // 入库管理-审核编辑
    form: {},
    // 入库管理-审核详情
    form_1: {}
};

const mutations = {
    SET_AUDIT_EDIT_FORM: (state, form) => {
        state.form = form;
    },
    SET_AUDIT_DETAILS_FORM: (state, form_1) => {
        state.form_1 = form_1;
    },
    SET_WAREHOUSE_MANAGE_DATA: (state, data) => {
        state.data = data;
    },

    SET_WAREHOUSE_MANAGE_PAGETOTAL: (state, pageTotal) => {
        state.pageTotal = pageTotal;
    },
    SET_WAREHOUSE_MANAGE_QUERY: (state, query) => {
        state.query = query;
    }
};

const actions = {};

export default {
    state,
    mutations,
    actions
};
